from rest_framework import serializers
from .models import ChatRecord,WordReplyMap

class ChatRecordSerializers(serializers.ModelSerializer):
    
    class Meta:
        model=ChatRecord
        fields='__all__'


class WordReplyMapSerializers(serializers.ModelSerializer):
    class Meta:
        model = WordReplyMap
        fields = ['id','word','reply','time']